package com.czy.seed.mvc.home.entity;

import com.czy.seed.mvc.base.entity.IPrepare;

import javax.persistence.Table;

@Table(name = "WARNINFO")
public class WarnInfo implements IPrepare {

    private Long id;
    //预警金额
    private Long amount;
    //所选商品类型
    private String name;
    //用户id
    private Long userId;
    //采购单位
    private String nameType;
    //预警信息
    private String warnInfo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNameType() {
        return nameType;
    }

    public void setNameType(String nameType) {
        this.nameType = nameType;
    }

    public String getWarnInfo() {
        return warnInfo;
    }

    public void setWarnInfo(String warnInfo) {
        this.warnInfo = warnInfo;
    }
}
